\usepackage{xcolor}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\green}[1]{\textcolor{green}{#1}}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\cyan}[1]{\textcolor{cyan}{#1}}
\newcommand{\magenta}[1]{\textcolor{magenta}{#1}}
\newcommand{\yellow}[1]{\textcolor{yellow}{#1}}

\renewcommand{\tablename}{表}
\renewcommand{\figurename}{图}
\renewcommand{\lstlistingname}{代码}

\newtheorem{definition}{{\heiti\hspace*{2em}定义}}[chapter]
\newtheorem{theorem}{{\heiti\hspace*{2em}定理}}[chapter]
\newtheorem{lemma}{{\heiti\hspace*{2em}引理}}[chapter]
\newtheorem{proposition}{{\heiti\hspace*{2em}命题}}[chapter]
\newtheorem{example}{{\heiti\hspace*{2em}例}}[chapter]
\newtheorem{corollary}{{\heiti\hspace*{2em}推论}}[chapter]
\newtheorem{property}{{\heiti\hspace*{2em}性质}}[chapter]

\newcommand{\Analysis}{\textbf{分析:}~}
\newcommand{\RightSolution}{\textbf{正解:}~}
\newcommand{\ErrorSolution}{\textbf{错解:}~}



